package com.tencent.smtt.sdk;

import com.tencent.smtt.export.external.jscore.interfaces.IX5JsError;
import com.tencent.smtt.sdk.JsContext;

/* loaded from: classes2.dex */
class d implements android.webkit.ValueCallback<IX5JsError> {
    final /* synthetic */ JsContext a;

    /* JADX INFO: Access modifiers changed from: package-private */
    public d(JsContext jsContext) {
        this.a = jsContext;
    }

    @Override // android.webkit.ValueCallback
    /* renamed from: a */
    public void onReceiveValue(IX5JsError iX5JsError) {
        JsContext.ExceptionHandler exceptionHandler;
        exceptionHandler = this.a.c;
        exceptionHandler.handleException(this.a, new JsError(iX5JsError));
    }
}
